package com.gtw.modules.api.service;


import com.gtw.modules.entity.TbGroupbuy;

import java.util.List;
import java.util.Map;

/**
 * 团购
 * 
 * @author wuye
 * @email www.baidu.com
 * @date 2018-02-08 17:34:06
 */
public interface TbGroupbuyService {
	
	TbGroupbuy queryObject(Integer id);
	
	List<TbGroupbuy> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbGroupbuy groupbuy);
	
	void update(TbGroupbuy groupbuy);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	List<TbGroupbuy> foudList();

	List<TbGroupbuy> foundStart(Map<String, Object> map);

	int foundStartTotal(Map<String,Object> map);

}
